<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        import {default as df} from './03暴露默认函数.js';

        let df1 = df;
        let obj1 = df1();
        obj1.showName();

        let df2 = df;
        let obj2 = df2();
        obj2.showAge();

        console.log(obj1 == obj2);
        console.log(df1 == df2);

        console.log(df().increase());
        console.log(df().increase());

    </script>
</body>
</html>